Session Bean returning another Remote Session Bean reference [JBOSS]

Posted by mrlinx on Stack Overflow See other posts from Stack Overflow or by mrlinx
Published on 2009-10-22T18:14:30Z Indexed on 2010/04/08 17:33 UTC
Read the original article Hit count: 512

Filed under:
|
|

Hi all,

I have a Stateless Session Bean in my JBoss Server that contains a function returning an instance of another Session Bean (this one is stateful).

My problem arises because this returned object doesn't seem to keep its persistence model (the EntityManager is null).

What is the right way to return from a Session Bean another Session Bean, keeping its remote "connection"?

© Stack Overflow or respective owner

Related posts about jboss

Related posts about session-bean